package god.model;

public class StudentVO {
	private String stdNum;
	private String name;
	private String address;
	private int age;
	private String birth;
	private String department;
	private int professorNum;
	private String interview;
		
	public StudentVO( String stdNum, String name, String address, int age, String birth, String department, int professorNum, String interview ) {
		this.stdNum = stdNum;
		this.name = name;
		this.address = address;
		this.age = age;
		this.birth = birth;
		this.department = department;
		this.professorNum = professorNum;
		this.interview = interview;
	}
	
	public void setStdNum( String stdNum ) { this.stdNum = stdNum; }
	public void setName( String name ) { this.name = name; }
	public void setAddress( String address ) { this.address = address; }
	public void setAge( int age ) { this.age = age; }
	public void setBirth( String birth ) { this.birth = birth; }
	public void setDepartment( String department ) { this.department = department; }
	public void setProfessor( int professorNum ) { this.professorNum = professorNum; }
	public void setInterview( String interview ) { this.interview = interview; }
	
	public String getStdNum() { return stdNum; }
	public String getName() { return name; }
	public String getAddress() { return address; }
	public int getAge() { return age; }
	public String getBirth() { return birth; }
	public String getDeprtment() { return department; }
	public int getProfessorNum() { return professorNum; }
	public String getInterview() { return interview; }

	@Override
	public String toString() {
		String result = "";
		result += stdNum + "/" + name + "/" + address + "/" + age + "/" + birth + "/" + department + "/" + professorNum + "/" + interview;
		return result;
	}
}
